<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>随机创建 css 图案页面</title>
    <link rel="stylesheet" href="random.css">
</head>
<body>
<!-- 先画好结构，后面会利用 js 动态创建 -->
<!-- 狗 -->
<div class="dog">
    <div class="head"></div>
    <div class="body"></div>
    <div class="legs"></div>
</div>

<!-- 猫 -->
<div class="cat">
    <div class="head"></div>
    <div class="body"></div>
</div>

<!-- partial -->
<script src="random.js"></script>
</body>
</html>